﻿namespace Magellan.Routing
{
    public interface IRoute
    {
        string Name { get; }
        
        void Prepare();
        IRouteHandler CreateRouteHandler();
        RouteMatch MatchPathToRoute(string request);
        PathMatch MatchRouteToPath(RouteValueDictionary values);
    }
}